CopyTo Method (Message Object)
The CopyTo
method makes a copy of this Message object in another folder.
Syntax
Set objCopiedMessage = objMessage.CopyTo(folderID [, storeID]
)
Parameters
objCopiedMessage
On successful
return, contains the copied Message object.
objMessage
Required.
This Message object.
folderID
Required.
String. The unique identifier of the destination Folder object in which the copy of
this message is to appear.
storeID
Optional.
String. The unique identifier of the InfoStore object in which the message copy is to appear, if
different from this message s InfoStore.
Remarks
All
properties that have been set on this message are copied, whether they have
read-only or read/write access. Each property is copied with its value and
access unchanged.
The copy
operation takes effect immediately. This Message object remains unchanged by
the CopyTo method.